package test.day12.test22;

class Animal{
    int m = 100;
}
class Dog extends Animal {
   double m; 
   public void setM(){
       m = super.m+3.14;
       m = 103.14;
   }
}
public class E {
   public static void main(String args[]){
      Dog dog = new Dog();
      dog.setM();
      System.out.println(dog.m); //【代码】 103.14
   }
}
